package org.JQbitorrentClinet.pojo.search;

import lombok.Builder;
import org.JQbitorrentClinet.utils.HttpClientProxyRequestType;
import org.JQbitorrentClinet.base.BaseParam;

@Builder
public class DeleteSearchParam extends BaseParam {
    Integer id;

    public DeleteSearchParam(Integer id) {
        this.id = id;
        requestType = HttpClientProxyRequestType.POSTURLENCODED;
    }

    @Override
    public String getApiUrl() {
        return "/api/v2/search/delete";
    }
}
